package com.vo;

import java.util.StringJoiner;

public class Classes {
    private int classId;
    private String className;

    public Classes(int classId, String className) {
        this.classId = classId;
        this.className = className;
    }

    public int getClassId() {
        return classId;
    }

    public void setClassId(int classId) {
        this.classId = classId;
    }

    public String getClassName() {
        return className;
    }

    public void setClassName(String className) {
        this.className = className;
    }

    @Override
    public String toString() {
        return new StringJoiner(", ", Classes.class.getSimpleName() + "[", "]")
                .add("classId=" + classId)
                .add("className='" + className + "'")
                .toString();
    }
}
